package com.polaris.live.adapter.recharge

import com.polaris.live.R
import com.polaris.live.common.adapter.BaseBindingAdapter
import com.polaris.live.common.adapter.VBViewHolder
import com.polaris.live.databinding.AdapterBuyGameBeansBinding


/**
 * BuyGameBeansAdapter
 *
 * @author Created by 半仙 on 2024/3/13/013 16:25
 */
class BuyGameBeansAdapter :
    BaseBindingAdapter<AdapterBuyGameBeansBinding, Long>() {
    init {
        addChildClickViewIds(R.id.ll_game_coin_back)
    }

    override fun convert(
        holder: VBViewHolder<AdapterBuyGameBeansBinding>,
        item: Long,
    ) {
        holder.vb.apply {
            tvCount.text = item.toString()
            tvDiamondCount.text = item.toString()
        }
    }

}